import wx

class ErrorMsg(wx.MessageDialog):
    """
    It is an error message dialog.
    
    @author Danilo Torres
    """
    
    MINIMUM_SCRIPT_TESTS = "You need at least one script test to run your tests."

    FACADE_NOT_VALID = "Please, choose a valid Facade."
    
    FACADE_NOT_FOUND = "Facade not found. Please, choose a valid Facade."
    
    SCRIPT_NOT_VALID = "Please, create a valid script test." 

    def __init__(self, parent, msg):
        """
        Creates an eror message dialog with the specified message.
        """
        wx.MessageDialog.__init__(self, parent, msg, style=wx.OK|wx.ICON_ERROR)
        self.ShowModal()
        self.Destroy()